package main

import (
	"ginStudy/model"
	"ginStudy/routes"
	"ginStudy/utils"
)

func main() {
	//初始化数据库
	model.InitDb()
	//初始化路由
	r := routes.InitRouter()
	r.Run(utils.HttpPort)
}
